package com.xindaoapp.henghua.utils;

import android.content.Context;

import com.library.utils.PreferenceFile;

/**
 * @author chenghao
 */
public class MoccaPreferences {

	private static final PreferenceFile sPrefs = new PreferenceFile("xindaoapp", Context.MODE_PRIVATE);

	public static final PreferenceFile.SharedPreference<String> DeviceId = sPrefs.value("device_id", "");
	public static final PreferenceFile.SharedPreference<String> FIRSTlOGIN = sPrefs.value("first_login", "0");
	public static final PreferenceFile.SharedPreference<String> TAGSTIME = sPrefs.value("tags_time", "");
	public static final PreferenceFile.SharedPreference<String> PROPERTYDATASTIME = sPrefs.value(
			"propertydatas_time", "");
	public static final PreferenceFile.SharedPreference<String> PROPERTYWITHLABELDATASTIME = sPrefs.value(
			"propertywithlabeldatas_time", "");
	public static final PreferenceFile.SharedPreference<String> SCANDATASTIME = sPrefs.value(
			"scandatas_time", "");
	public static final PreferenceFile.SharedPreference<String> SUPERVISIONTIME = sPrefs.value(
			"supervision_time", "");
	public static final PreferenceFile.SharedPreference<String> ARRIVEDATASTIME = sPrefs.value(
			"arrivedatas_time", "");
	public static final PreferenceFile.SharedPreference<String> TRANSPORTDATASTIME = sPrefs.value(
			"transportdatas_time", "");
	/** 保存用户登录信息，无网络情况下使用 */
	public static final PreferenceFile.SharedPreference<String> UERERINFO = sPrefs.value("user_info", "");
	/** 标签库信息，无网络情况下使用 */
	public static final PreferenceFile.SharedPreference<String> TAGS = sPrefs.value("tags", "");
	public static final PreferenceFile.SharedPreference<String> TEMP = sPrefs.value("temp", "");

	public static PreferenceFile getPreferencesFile() {
		return sPrefs;
	}
}
